<form action="<?php echo url_for('main/search') ?>" method="POST">

<div class = "formlayout">
	<label>Client Name:</label>
	<?php echo $form['query'] ?>
	<?php echo $form['list'] ?>&nbsp; 
	<?php //<input type="hidden"  name="type" value=<?php echo $type ?>
	<input type="submit"  value="Search" />
</div>

</form>
